        <script type="text/javascript">
               function checkInput()
        	   {
/*            	        	
            		if (document.editConfig.key.value=="")
            		{
            			alert("Please enter your own Key");
            			document.addBook.weight.focus();
            			return false;
            		}                    
*/                    
                    if (document.editConfig.value.value=="")
            		{
            			alert("Please enter your own Value");
            			document.editConfig.value.focus();
            			return false;
            		}
                    
                    alert("Success!");
            		return true;
        	   }       	  		
        	
            </script>    
<form name="editConfig" method="post" action="" enctype="multipart/form-data" onsubmit="return checkInput();">
	<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
    
			<tr>

			<th valign="top">Key:</th>

			<td><b>{key}</b></td>

			<td></td>

		</tr>
			
			<tr>

			<th valign="top">Value:</th>

			<td><textarea rows="" name="value" cols="" class="form-textarea">{value}</textarea></td>

			<td></td>

		</tr>
		<tr>

			<th>&nbsp;</th>

			<td valign="top">

				<input name ="submit" type="submit" value="" class="form-submit" />

				<input name ="reset" type="reset" value="" class="form-reset"  />

			</td>

			<td></td>

		</tr>

		</table>
</form>
